package com.vincent.sciinfo.service;

import com.vincent.sciinfo.interceptor.FeignPassToken;
import com.vincent.sciinfo.pojo.TSMResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value = "service-teacher", configuration = FeignPassToken.class)
public interface TeacherService {

    @RequestMapping(value = "/teacher/getTeacherInfor")
    TSMResult getTeacherInfor(@RequestBody TSMResult tsmResult, @RequestParam("teacherId") String teacherId);

}
